/**
 * @(#)BaseDateInfo.java 2017年2月15日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian;


import org.jsbd.boss.util.DateUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.alibaba.dubbo.common.utils.StringUtils;

/**
 * TODO 请加入本类的说明
 * @author <a href="mailto:zhouchao@xingbook.com" >周超</a>
 * @version 1.0.0
 */
public class BaseDateInfo {
	public static final Logger LOGGER = LoggerFactory.getLogger(BaseDateInfo.class);
	
	private String currentDate;

	public String getCurrentDate() {
		if(StringUtils.isBlank(currentDate)){
			return DateUtil.getCurrentDateStr();
		}
		return currentDate;
	}

	public void setCurrentDate(String currentDate) {
		this.currentDate = currentDate;
	}
	
}
